package com.slz3.business.frame.enums;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum ValidFlag {

    VALID("有效"), DEL("已删除");

    private String nickname;

    public static boolean isDel(ValidFlag validFlag) {
        return DEL.equals(validFlag);
    }

    public static boolean isValid(ValidFlag validFlag) {
        return VALID.equals(validFlag);
    }

}
